<%-- 
    Document   : editGatherer
    Created on : 17.11.2013, 19:42:17
    Author     : palo
--%>

<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<f:message var="nadpis" key="top.editGatherer"/>

<s:layout-render name="/mainLayout.jsp" nadpis="${nadpis}">
    <s:layout-component name="body">
        <s:useActionBean beanclass="cz.muni.fi.pa165.mushroom.website.web.GathererActionBean" var="actionBean"/>       

        <s:form beanclass="cz.muni.fi.pa165.mushroom.website.web.GathererActionBean">
            <s:hidden name="gathererDto.id"/>
            <fieldset><legend><f:message key="edit.gatherer"/></legend>
                <%@include file="/protected/gathererForm.jsp"%>
                <s:submit name="save"><f:message key="edit.save"/></s:submit>
                <s:submit name="cancel"><f:message key="cancel"/></s:submit>
                </fieldset>
                <p><s:link href="/protected/changePass.jsp" class="cancelFilter"><f:message key="password.change"/></s:link></p>
        </s:form>

    </s:layout-component>
</s:layout-render>